package com.jzr.open.db1.model;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalTime;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 护理计划
 * </p>
 *
 * @author henry
 * @since 2019-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TWorkPlan对象", description="护理计划")
public class TWorkPlan implements Serializable {
    private static final long serialVersionUID = 1L;
    public static final String TableName = "t_work_plan";
    public static final String Id_ = "id";
    public static final String DeptCode_ = "dept_code";
    public static final String WorkType_ = "work_type";
    public static final String Frequency_ = "frequency";
    public static final String PlanDate_ = "plan_date";
    public static final String PlanTime_ = "plan_time";
    public static final String Status_ = "status";
    public static final String Remark_ = "remark";
    public static final String Beds_ = "beds";
    public static final String UpdateBy_ = "update_by";
    public static final String UpdateTime_ = "update_time";
    public static final String IsDel_ = "is_del";


    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "部门编号")
    @TableField("dept_code")
    private String deptCode;

    @ApiModelProperty(value = "工作类型（对照code_list的WorkType)")
    @TableField("work_type")
    private Integer workType;

    @ApiModelProperty(value = "频率")
    @TableField("frequency")
    private String frequency;

    @ApiModelProperty(value = "计划日期")
    @TableField("plan_date")
    private LocalDate planDate;

    @ApiModelProperty(value = "计划时间")
    @TableField("plan_time")
    private LocalTime planTime;

    @ApiModelProperty(value = "状态: 0=取消 1=正常")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty(value = "床ID列表")
    @TableField("beds")
    private String beds;

    @ApiModelProperty(value = "更新人")
    @TableField("update_by")
    private Integer updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "删除标记")
    @TableField("is_del")
    private Boolean isDel;


}
